<template>
  <el-container>
    <el-header>
      <h1>登录</h1><h1>注册</h1>
    </el-header>
<!--    <el-header>-->
<!--      HeaderHeader-->
<!--    </el-header>-->
    <el-main>
      <template>
        <el-carousel :interval="4000" type="card" height="200px">
          <el-carousel-item v-for="item in 3" :key="item">
            <h3 class="medium">{{ item }}</h3>
          </el-carousel-item>
        </el-carousel>
      </template>
    </el-main>
    <el-footer height="370px">
        Footer
    </el-footer>
  </el-container>
</template>

<script>
export default {
  name: 'Home'
}
</script>

<style scoped>
  .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 60px;
  }

  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }

  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }

  .el-carousel__item h3 {
    background-image: url("../../static/lmg/2.jpg");
    font-size: 14px;
    opacity: 0.75;
    line-height: 200px;
    margin: 0;
    height: 200px;
  }

  .el-carousel__item:nth-child(2n) {
    /*background-image: url("../../static/lmg/2.jpg");*/
    background-color: wheat;
  }

  .el-carousel__item:nth-child(2n+1) {
    background-image: url("../../static/lmg/3.jpg");
  }
</style>
